//
//  GroupsHeaderView.h
//  好友列表
//
//  Created by 伍银荣 on 2021/6/8.
//  Copyright © 2021 com.example. All rights reserved.
//

#import <UIKit/UIKit.h>

@class Groups;

@class GroupsHeaderView;

@protocol GroupsHeaderViewDelegate <NSObject>

- (void)groupBtnClickedWithGtoupHeaderView:(GroupsHeaderView *_Nullable)headerView;

@end

NS_ASSUME_NONNULL_BEGIN

@interface GroupsHeaderView : UITableViewHeaderFooterView
@property (nonatomic, strong) Groups *groups;

@property (nonatomic, weak) id<GroupsHeaderViewDelegate> delegate;

+ (instancetype)groupsHeaderViewWithTableView:(UITableView *)tableView;
@end

NS_ASSUME_NONNULL_END
